home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Web Graphics with Shout 3D
/
Interactive Web Graphics With Shout 3D.iso
/
mac
/
Shout3Ddemo
/
S3D_2E1.exe
/
Shout3d_runtime
/
codebase
/
models
/
renderTests
/
alphaTransparency.wrl
next >
Wrap
Text File
|
2000-05-30
|
2KB
|
78 lines
#VRML V2.0 utf8
DEF Square1 Transform {
children [
Shape {
appearance Appearance {
material Material {
}
texture ImageTexture {
repeatS TRUE
repeatT TRUE
url "tree.jpg" hasAlphaTexture TRUE
}
}
geometry DEF _1 IndexedFaceSet {
coord Coordinate {
point [ -1 -1 1.91846e-013,
-1 1 -6.82122e-013,
1 1 -6.82122e-013,
1 -1 1.91846e-013 ]
}
coordIndex [ 0, 1, 2, -1, 2, 3, 0, -1]
texCoord TextureCoordinate {
point [ 0 0,
0 1,
1 1,
1.00106 0.0040717 ]
}
solid FALSE
normalIndex [ ]
}
}
DEF UnnamedAnimation0 Group {
children [
DEF UnnamedAnimation0Time TimeSensor {
cycleInterval 2
loop TRUE
}
DEF Square1RotationInterp OrientationInterpolator {
key [ 0, 0.25, 0.5, 0.75, 1 ]
keyValue [ 0 1 0 0,
0 1 0 .5, 0 1 0 0, 0 1 0 -.5, 0 1 0 0 ]
}
DEF Square1PositionInterp PositionInterpolator {
key [ 0, 0.25, 0.5, 0.75, 1 ]
keyValue [ 0 0 0,
-.5 0 -.3,
-0 0 -.6
.5 0 .3,
0 0 0 ]
}
]
}
]
translation -0.278074 0 0.29099
rotation 0 1 0 0
center 0 0 -3.01981e-013
}
DEF VP Viewpoint {
position 0 0 10
fieldOfView 0.785398
description " "
}
DEF _4 TimeSensor {
enabled TRUE
loop TRUE
}
ROUTE UnnamedAnimation0Time.fraction_changed TO Square1RotationInterp.set_fraction
ROUTE Square1RotationInterp.value_changed TO Square1.set_rotation
ROUTE UnnamedAnimation0Time.fraction_changed TO Square1PositionInterp.set_fraction
ROUTE Square1PositionInterp.value_changed TO Square1.set_translation